package ru.kipriz.todoly.api.entities;

import java.util.TimeZone;

/**
 * <p>Copyright: Copyright (c) 2010</p>
 *
 * @author Andrey Volkov
 *         <br/>Date: 12/13/10
 */
public class User implements Entity {
    long id;

    String email;

    String password = null;

    String fullName;

    double timeZone;

    boolean isProUser;

    long defaultProjectId;

    boolean addItemMoreExpanded;

    boolean editDueDateMoreExpanded;

    int listSortType;

    int firstDayOfWeek = 1;

    int newTaskDueDate = -1;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public double getTimeZone() {
        return timeZone;
    }

    public void setTimeZone(double timeZone) {
        this.timeZone = timeZone;
    }

    public boolean isProUser() {
        return isProUser;
    }

    public void setProUser(boolean proUser) {
        isProUser = proUser;
    }

    public void setIsProUser(boolean proUser) {
        isProUser = proUser;
    }

    public long getDefaultProjectId() {
        return defaultProjectId;
    }

    public void setDefaultProjectId(long defaultProjectId) {
        this.defaultProjectId = defaultProjectId;
    }

    public boolean isAddItemMoreExpanded() {
        return addItemMoreExpanded;
    }

    public void setAddItemMoreExpanded(boolean addItemMoreExpanded) {
        this.addItemMoreExpanded = addItemMoreExpanded;
    }

    public boolean isEditDueDateMoreExpanded() {
        return editDueDateMoreExpanded;
    }

    public void setEditDueDateMoreExpanded(boolean editDueDateMoreExpanded) {
        this.editDueDateMoreExpanded = editDueDateMoreExpanded;
    }

    public int getListSortType() {
        return listSortType;
    }

    public void setListSortType(int listSortType) {
        this.listSortType = listSortType;
    }

    public int getFirstDayOfWeek() {
        return firstDayOfWeek;
    }

    public void setFirstDayOfWeek(int firstDayOfWeek) {
        this.firstDayOfWeek = firstDayOfWeek;
    }

    public int getNewTaskDueDate() {
        return newTaskDueDate;
    }

    public void setNewTaskDueDate(int newTaskDueDate) {
        this.newTaskDueDate = newTaskDueDate;
    }

    @Override
    public Object clone() throws CloneNotSupportedException
    {
        return super.clone();
    }
}
